//

const URL_ADDRESS = 'https://api.apiopen.top/api/sentences';

export default async function getSentences() {
  return new Promise((resolve, reject) => {
    fetch(URL_ADDRESS)
      .then((res) => resolve(res.json()))
      .catch(reject);
  });
}
